/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.component.notice.lark.config;

import com.dtflys.forest.solon.properties.ForestConfigurationProperties;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.annotation.Import;
import org.noear.solon.annotation.Inject;

/**
 * <b>(NoticeLarkConfiguration)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/10/20
 */
@Component
@Configuration
@Import(scanPackages = {"info.peigen.hotpot.component.notice.lark", "info.peigen.hotpot.common", "com.dtflys.forest"})
public class NoticeLarkConfiguration {
    @Inject
    private NoticeLarkProperties          noticeLarkProperties;
    private ForestConfigurationProperties forestConfigurationProperties;

    // public void setupProperties() {
    //     forestConfigurationProperties.setMaxConnections(noticeLarkProperties.getMaxConnections());
    //     forestConfigurationProperties.setConnectTimeout(noticeLarkProperties.getConnectTimeout());
    //     forestConfigurationProperties.setReadTimeout(noticeLarkProperties.getReadTimeout());
    // }
}